package com.dd.cloud.user.entity.resource;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author Lx
 * @version 1.0
 * @date 2024/1/30
 */
@Data
@EqualsAndHashCode
@Accessors(chain = true)
@Table(comment = "广告开屏操作记录表")
public class AdvertSpreadOperCount implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @Column(isKey = true, isAutoIncrement = true)
    private Integer id;

    /**
     * 关联id 根据关联类型判断
     */
    @Column(comment = "关联id 根据关联类型判断")
    private Integer mId;

    /**
     * 关联类型 1广告 2开屏
     */
    @Column(comment = "关联类型 1广告 2开屏")
    private Integer mType;

    /**
     * 用户id
     */
    @Column(comment = "用户id")
    private Integer userId;

    /**
     * 用户类型 同登录类型
     */
    @Column(comment = "用户类型 同登录类型")
    private Integer userType;

    /**
     * 数量类型 1弹出数 2点击数
     */
    @Column(comment = "数量类型 1弹出数 2点击数")
    private Integer type;

    /**
     * 数量状态 1正常 -1删除
     */
    @Column(comment = "数量状态 1正常 -1删除")
    private Integer status;

    /**
     * 创建时间
     */
    @Column(comment = "创建时间")
    private LocalDateTime createDate;
}
